package com.lu.statistics.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lu.statistics.entity.TbUser;
import java.util.Set;

public interface TbUserService extends IService<TbUser> {

    /**
     * 移动端登录接口
     *
     * @param userName
     * @param password
     * @return
     */
    public TbUser queryUserByUserNameAndPassword(String userName, String password);

    /**
     * 查询用户权限信息
     *
     * @param userId
     * @return
     */
    public Set<String> queryUserPermissionsByUser(int userId);

}
